package models;

import javax.persistence.Id;

import play.data.validation.Required;
import play.modules.objectify.ObjectifyModel;

import com.googlecode.objectify.Key;

public class Employee extends ObjectifyModel {

	@Id
	public Long id;

	@Required
	private String firstName;

	private String lastName;

	private String address;

	private String salutation;
	
	private Key<Department> department;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getSalutation() {
		return salutation;
	}

	public void setSalutation(String salutation) {
		this.salutation = salutation;
	}

	public Key<Department> getDepartment() {
		return department;
	}

	public void setDepartment(Key<Department> department) {
		this.department = department;
	}

}
